using System;
using System.Collections.Generic;
using System.Text;

namespace DDW
{
	public class AttributeArgumentNode : BaseNode
	{
		private IdentifierExpression argumentName;
		public IdentifierExpression ArgumentName
		{
			get { return argumentName; }
			set { argumentName = value; }
		}
		private ExpressionNode expression;
		public ExpressionNode Expression
		{
			get { return expression; }
			set { expression = value; }
		}
		public override void ToSource(StringBuilder sb)
		{
			if (argumentName != null)
			{
				argumentName.ToSource(sb);
				sb.Append("= ");
			}
			expression.ToSource(sb);
		}
	}
}
